<!DOCTYPE html>
<html class="x-admin-sm">
    
    <head>
        <meta charset="UTF-8">
        <title>欢迎页面-X-admin2.2</title>
        <meta name="renderer" content="webkit">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
        <link rel="stylesheet" href="/X-admin/css/font.css">
        <link rel="stylesheet" href="/X-admin/css/xadmin.css">
        <script src="../../js/jquery-3.5.0.js"></script>
        <script src="/X-admin/lib/layui/layui.js" charset="utf-8"></script>
        <script type="text/javascript" src="/X-admin/js/xadmin.js"></script>
        <script src="../../js/product/product-list.js"></script>


    </head>

    <body>
    <div class="x-nav">
            <span class="layui-breadcrumb">
                <a href="">首页</a>
                <a href="">演示</a>
                <a>
                    <cite>导航元素</cite></a>
            </span>
        <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" onclick="location.reload()" title="刷新">
            <i class="layui-icon layui-icon-refresh" style="line-height:30px"></i>
        </a>
    </div>
    <div class="layui-fluid">
        <div class="layui-row layui-col-space15">
            <div class="layui-col-md12">
                <div class="layui-card">
                    <div class="layui-card-body ">
                        <form class="layui-form layui-col-space5">
                            <div class="layui-input-inline layui-show-xs-block">
                                <input class="layui-input" placeholder="开始日" name="start" id="start"></div>
                            <div class="layui-input-inline layui-show-xs-block">
                                <input class="layui-input" placeholder="截止日" name="end" id="end"></div>
                            <div class="layui-input-inline layui-show-xs-block">
                                <select name="contrller">
                                    <option>支付方式</option>
                                    <option>支付宝</option>
                                    <option>微信</option>
                                    <option>货到付款</option></select>
                            </div>
                            <div class="layui-input-inline layui-show-xs-block">
                                <select name="contrller">
                                    <option value="">订单状态</option>
                                    <option value="0">待确认</option>
                                    <option value="1">已确认</option>
                                    <option value="2">已收货</option>
                                    <option value="3">已取消</option>
                                    <option value="4">已完成</option>
                                    <option value="5">已作废</option></select>
                            </div>
                            <div class="layui-input-inline layui-show-xs-block">
                                <input type="text" name="username" placeholder="请输入订单号" autocomplete="off" class="layui-input"></div>
                            <div class="layui-input-inline layui-show-xs-block">
                                <button class="layui-btn" lay-submit="" lay-filter="sreach">
                                    <i class="layui-icon">&#xe615;</i></button>
                            </div>
                        </form>
                    </div>
                    <div class="layui-card-header">
                        <button class="layui-btn layui-btn-danger" onclick="delAll()">
                            <i class="layui-icon"></i>批量删除</button>
                        <button class="layui-btn" onclick="xadmin.open('添加产品','./product-add.html',600,400)">
                            <i class="layui-icon"></i>添加</button></div>
                    <div class="layui-card-body ">
                        <table class="layui-hide" id="table" lay-filter="table"></table>

                        <script type="text/html" id="barDemo">
                            <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">查看</a>
                            <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">编辑</a>
                            <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="del"><i class="layui-icon">&#xe639;</i>   </a>

                        </script>
                        <script type="text/html" id="imgHref">
                            <!-- 这里的 checked 的状态只是演示 -->
                            <img src="{{d.imgHref}}" width="50" height="50" />
                        </script>
                        <script type="text/html" id="enable">
                            <!-- 这里的 checked 的状态只是演示 -->
                            <input type="checkbox" name="enable" value="{{d.id}}" myvalue="{{d.enable}}" lay-skin="switch" lay-text="启用|停用" lay-filter="enable" {{ d.enable == 1 ? 'checked' : '' }}>
                        </script>
                    </div>
                </div>
            </div>
        </div>
    </div>
    </body>
<!--    <script type="text/html" id="toolbarDemo">-->
<!--        <div class = "layui-btn-container" >-->
<!--            <button class = "layui-btn layui-btn-sm" lay-event = "getCheckData" > 获取选中行数据 </button>-->
<!--            <button class="layui-btn layui-btn-sm" lay-event="getCheckLength">获取选中数目</button >-->
<!--            <button class = "layui-btn layui-btn-sm" lay-event = "isAll" > 验证是否全选</button>-->
<!--        </div >-->
<!--    </script>-->


</html>